package com.wynne.ptldemo.service.serviceimpl.modules;


import com.wynne.ptldemo.bo.TagSignalBo;
import com.wynne.ptldemo.consts.ResultBean;
import com.wynne.ptldemo.service.IModuleService;
import com.wynne.ptldemo.ws.StationWebSocket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PrintTagModule implements IModuleService {

    @Autowired
    private StationWebSocket webSocket;

    @Override
    public ResultBean execModule(TagSignalBo signalBo) {
        System.out.println("PrintTagModule");
        webSocket.sendMessage("1","打印标签");
        return ResultBean.createBySuccess();
    }
}
